Skip to content

Conversation

@targos
Copy link
Member

@targos targos commented Oct 3, 2025

No notable changes in this version.

@targos targos added the semver-major PRs that contain breaking changes and should be released in the next major version. label Oct 3, 2025
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency. labels Oct 3, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@targos
Copy link
Member Author

targos commented Oct 3, 2025

Well it looks like we are hitting the first issue related to the drop of GCC support in V8 (or GCC 12 is just too old).

@targos targos marked this pull request as draft October 3, 2025 13:06
@abmusse
Copy link
Contributor

abmusse commented Oct 3, 2025

Well it looks like we are hitting the first issue related to the drop of GCC support in V8 (or GCC 12 is just too old).

I noticed the constexpr issue and another gcc compile issue and opened up a CL last week: https://chromium-review.googlesource.com/c/v8/v8/+/6987408.

@targos
Copy link
Member Author

targos commented Oct 7, 2025

Tests with require('esm') in cycles are failing in debug mode, cc @joyeecheung

=== debug test-require-module-cycle-esm-cjs-esm ===
Path: es-module/test-require-module-cycle-esm-cjs-esm
[process 8065]: --- stderr ---


#
# Fatal error in ../../deps/v8/src/objects/module.cc, line 492
# Debug check failed: root->status() == kLinked || root->status() == kEvaluated || root->status() == kEvaluatingAsync || root->status() == kErrored.
#
#
#
#FailureMessage Object: 0x16f413298
----- Native stack trace -----

 1: 0x100aeba98 node::DumpNativeBacktrace(__sFILE*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 2: 0x100d6e890 node::NodePlatform::GetStackTracePrinter()::$_0::operator()() const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 3: 0x100d6e84c node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 4: 0x1032f08ec V8_Fatal(char const*, int, char const*, ...) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 5: 0x1032f01f8 v8::base::SetFatalFunction(void (*)(char const*, int, char const*)) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 6: 0x1018e1e00 v8::internal::Module::IsGraphAsync(v8::internal::Isolate*) const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 7: 0x10109d6d4 v8::Module::IsGraphAsync() const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 8: 0x100b95ffc node::loader::ModuleWrap::HasAsyncGraph() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 9: 0x100b9a908 node::loader::ModuleWrap::HasAsyncGraph(v8::Local<v8::Name>, v8::PropertyCallbackInfo<v8::Value> const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
10: 0x101928c1c v8::internal::PropertyCallbackArguments::CallAccessorGetter(v8::internal::DirectHandle<v8::internal::AccessorInfo>, v8::internal::DirectHandle<v8::internal::Name>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
11: 0x1019273a8 v8::internal::Object::GetPropertyWithAccessor(v8::internal::LookupIterator*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
12: 0x101926404 v8::internal::Object::GetProperty(v8::internal::LookupIterator*, bool) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
13: 0x1015f2c30 v8::internal::LoadIC::Load(v8::internal::Handle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::Handle<v8::internal::Name>, bool, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
14: 0x1015fdfd0 v8::internal::Runtime_LoadNoFeedbackIC_Miss(int, unsigned long*, v8::internal::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
15: 0x10242b494 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
16: 0x10255e6c0 Builtins_GetNamedPropertyHandler [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
17: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
18: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
19: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
20: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
21: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
22: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
23: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
24: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
25: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
26: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
27: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
28: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
29: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
30: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
31: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
32: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
33: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
34: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
35: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
36: 0x102371354 Builtins_JSEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
37: 0x102370ff0 Builtins_JSEntry [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
38: 0x10135d054 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
39: 0x10135c27c v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::DirectHandle<v8::internal::Object>, v8::base::Vector<v8::internal::DirectHandle<v8::internal::Object> const>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
40: 0x1040caf9c v8::Function::Call(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
41: 0x100b97660 node::loader::ModuleWrap::SyntheticModuleEvaluationStepsCallback(v8::Local<v8::Context>, v8::Local<v8::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
42: 0x10198ebec v8::internal::SyntheticModule::Evaluate(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::SyntheticModule>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
43: 0x1018e00c4 v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
44: 0x10196825c v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
45: 0x101967dc8 v8::internal::SourceTextModule::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
46: 0x1018dff78 v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
47: 0x1040c5b64 v8::Module::Evaluate(v8::Local<v8::Context>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
48: 0x100b993a4 node::loader::ModuleWrap::Evaluate(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
49: 0x1023763b8 Builtins_CallApiCallbackGeneric [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
50: 0x10237470c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
51: 0x1023b8944 Builtins_AsyncFunctionAwaitResolveClosure [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
52: 0x1024cc2e0 Builtins_PromiseFulfillReactionJob [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
53: 0x1023a56b4 Builtins_RunMicrotasks [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
54: 0x102371230 Builtins_JSRunMicrotasksEntry [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
55: 0x10135d0c0 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
56: 0x10135e06c v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
57: 0x10135e4b8 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
58: 0x10421b23c v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
59: 0x1013aa1a4 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
60: 0x100a307e0 node::InternalCallbackScope::Close() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
61: 0x100a305c4 node::InternalCallbackScope::~InternalCallbackScope() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
62: 0x100a2fcb0 node::InternalCallbackScope::~InternalCallbackScope() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
63: 0x100baafc0 node::StartExecution(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
64: 0x100a40c98 node::LoadEnvironment(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>, std::__1::function<void (node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Value>)>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
65: 0x100ce61ac node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
66: 0x100ce5e4c node::NodeMainInstance::Run() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
67: 0x100bad8f4 node::StartInternal(int, char**) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
68: 0x100bad510 node::Start(int, char**) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
69: 0x102a2232c main [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
70: 0x192691d54 start [/usr/lib/dyld]

[process 8065]: --- stdout ---

[process 8065]: status = null, signal = SIGTRAP
/Users/mzasso/git/nodejs/v8-next-update/test/common/child_process.js:98
    throw error;
    ^

Error: - process terminated with status null, expected 1
- process terminated with signal SIGTRAP, expected null
    at Object.<anonymous> (/Users/mzasso/git/nodejs/v8-next-update/test/es-module/test-require-module-cycle-esm-cjs-esm.js:43:3)
    at Module._compile (node:internal/modules/cjs/loader:1759:14)
    at Object..js (node:internal/modules/cjs/loader:1892:10)
    at Module.load (node:internal/modules/cjs/loader:1479:32)
    at Module._load (node:internal/modules/cjs/loader:1298:12)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47 {
  command: '/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node --experimental-require-module /Users/mzasso/git/nodejs/v8-next-update/test/fixtures/es-modules/esm-cjs-esm-cycle/a.mjs'
}

Node.js v25.0.0-pre
Command: out/Debug/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/mzasso/git/nodejs/v8-next-update/test/es-module/test-require-module-cycle-esm-cjs-esm.js


=== debug test-require-module-cycle-esm-cjs-esm-esm ===
Path: es-module/test-require-module-cycle-esm-cjs-esm-esm
[process 8067]: --- stderr ---


#
# Fatal error in ../../deps/v8/src/objects/module.cc, line 492
# Debug check failed: root->status() == kLinked || root->status() == kEvaluated || root->status() == kEvaluatingAsync || root->status() == kErrored.
#
#
#
#FailureMessage Object: 0x16fa9f228
----- Native stack trace -----

 1: 0x10045fa98 node::DumpNativeBacktrace(__sFILE*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 2: 0x1006e2890 node::NodePlatform::GetStackTracePrinter()::$_0::operator()() const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 3: 0x1006e284c node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 4: 0x102c648ec V8_Fatal(char const*, int, char const*, ...) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 5: 0x102c641f8 v8::base::SetFatalFunction(void (*)(char const*, int, char const*)) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 6: 0x101255e00 v8::internal::Module::IsGraphAsync(v8::internal::Isolate*) const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 7: 0x100a116d4 v8::Module::IsGraphAsync() const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 8: 0x100509ffc node::loader::ModuleWrap::HasAsyncGraph() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 9: 0x10050e908 node::loader::ModuleWrap::HasAsyncGraph(v8::Local<v8::Name>, v8::PropertyCallbackInfo<v8::Value> const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
10: 0x10129cc1c v8::internal::PropertyCallbackArguments::CallAccessorGetter(v8::internal::DirectHandle<v8::internal::AccessorInfo>, v8::internal::DirectHandle<v8::internal::Name>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
11: 0x10129b3a8 v8::internal::Object::GetPropertyWithAccessor(v8::internal::LookupIterator*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
12: 0x10129a404 v8::internal::Object::GetProperty(v8::internal::LookupIterator*, bool) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
13: 0x100f66c30 v8::internal::LoadIC::Load(v8::internal::Handle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::Handle<v8::internal::Name>, bool, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
14: 0x100f71fd0 v8::internal::Runtime_LoadNoFeedbackIC_Miss(int, unsigned long*, v8::internal::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
15: 0x101d9f494 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
16: 0x101ed26c0 Builtins_GetNamedPropertyHandler [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
17: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
18: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
19: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
20: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
21: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
22: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
23: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
24: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
25: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
26: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
27: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
28: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
29: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
30: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
31: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
32: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
33: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
34: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
35: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
36: 0x101ce5354 Builtins_JSEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
37: 0x101ce4ff0 Builtins_JSEntry [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
38: 0x100cd1054 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
39: 0x100cd027c v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::DirectHandle<v8::internal::Object>, v8::base::Vector<v8::internal::DirectHandle<v8::internal::Object> const>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
40: 0x103a3ef9c v8::Function::Call(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
41: 0x10050b660 node::loader::ModuleWrap::SyntheticModuleEvaluationStepsCallback(v8::Local<v8::Context>, v8::Local<v8::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
42: 0x101302bec v8::internal::SyntheticModule::Evaluate(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::SyntheticModule>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
43: 0x1012540c4 v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
44: 0x1012dc25c v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
45: 0x1012dc378 v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
46: 0x1012dbdc8 v8::internal::SourceTextModule::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
47: 0x101253f78 v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
48: 0x103a39b64 v8::Module::Evaluate(v8::Local<v8::Context>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
49: 0x10050d3a4 node::loader::ModuleWrap::Evaluate(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
50: 0x101cea3b8 Builtins_CallApiCallbackGeneric [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
51: 0x101ce870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
52: 0x101d2c944 Builtins_AsyncFunctionAwaitResolveClosure [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
53: 0x101e402e0 Builtins_PromiseFulfillReactionJob [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
54: 0x101d196b4 Builtins_RunMicrotasks [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
55: 0x101ce5230 Builtins_JSRunMicrotasksEntry [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
56: 0x100cd10c0 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
57: 0x100cd206c v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
58: 0x100cd24b8 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
59: 0x103b8f23c v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
60: 0x100d1e1a4 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
61: 0x1003a47e0 node::InternalCallbackScope::Close() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
62: 0x1003a45c4 node::InternalCallbackScope::~InternalCallbackScope() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
63: 0x1003a3cb0 node::InternalCallbackScope::~InternalCallbackScope() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
64: 0x10051efc0 node::StartExecution(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
65: 0x1003b4c98 node::LoadEnvironment(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>, std::__1::function<void (node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Value>)>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
66: 0x10065a1ac node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
67: 0x100659e4c node::NodeMainInstance::Run() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
68: 0x1005218f4 node::StartInternal(int, char**) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
69: 0x100521510 node::Start(int, char**) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
70: 0x10239632c main [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
71: 0x192691d54 start [/usr/lib/dyld]

[process 8067]: --- stdout ---

[process 8067]: status = null, signal = SIGTRAP
/Users/mzasso/git/nodejs/v8-next-update/test/common/child_process.js:98
    throw error;
    ^

Error: - process terminated with status null, expected 1
- process terminated with signal SIGTRAP, expected null
    at Object.<anonymous> (/Users/mzasso/git/nodejs/v8-next-update/test/es-module/test-require-module-cycle-esm-cjs-esm-esm.js:43:3)
    at Module._compile (node:internal/modules/cjs/loader:1759:14)
    at Object..js (node:internal/modules/cjs/loader:1892:10)
    at Module.load (node:internal/modules/cjs/loader:1479:32)
    at Module._load (node:internal/modules/cjs/loader:1298:12)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47 {
  command: '/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node --experimental-require-module /Users/mzasso/git/nodejs/v8-next-update/test/fixtures/es-modules/esm-cjs-esm-esm-cycle/c.mjs'
}

Node.js v25.0.0-pre
Command: out/Debug/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/mzasso/git/nodejs/v8-next-update/test/es-module/test-require-module-cycle-esm-cjs-esm-esm.js


=== debug test-require-module-cycle-esm-esm-cjs-esm ===
Path: es-module/test-require-module-cycle-esm-esm-cjs-esm
[process 8080]: --- stderr ---


#
# Fatal error in ../../deps/v8/src/objects/module.cc, line 492
# Debug check failed: root->status() == kLinked || root->status() == kEvaluated || root->status() == kEvaluatingAsync || root->status() == kErrored.
#
#
#
#FailureMessage Object: 0x16ce4baa8
----- Native stack trace -----

 1: 0x1030b3a98 node::DumpNativeBacktrace(__sFILE*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 2: 0x103336890 node::NodePlatform::GetStackTracePrinter()::$_0::operator()() const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 3: 0x10333684c node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 4: 0x1058b88ec V8_Fatal(char const*, int, char const*, ...) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 5: 0x1058b81f8 v8::base::SetFatalFunction(void (*)(char const*, int, char const*)) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 6: 0x103ea9e00 v8::internal::Module::IsGraphAsync(v8::internal::Isolate*) const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 7: 0x1036656d4 v8::Module::IsGraphAsync() const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 8: 0x10315dffc node::loader::ModuleWrap::HasAsyncGraph() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 9: 0x103162908 node::loader::ModuleWrap::HasAsyncGraph(v8::Local<v8::Name>, v8::PropertyCallbackInfo<v8::Value> const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
10: 0x103ef0c1c v8::internal::PropertyCallbackArguments::CallAccessorGetter(v8::internal::DirectHandle<v8::internal::AccessorInfo>, v8::internal::DirectHandle<v8::internal::Name>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
11: 0x103eef3a8 v8::internal::Object::GetPropertyWithAccessor(v8::internal::LookupIterator*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
12: 0x103eee404 v8::internal::Object::GetProperty(v8::internal::LookupIterator*, bool) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
13: 0x103bbac30 v8::internal::LoadIC::Load(v8::internal::Handle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::Handle<v8::internal::Name>, bool, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
14: 0x103bc5fd0 v8::internal::Runtime_LoadNoFeedbackIC_Miss(int, unsigned long*, v8::internal::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
15: 0x1049f3494 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
16: 0x104b266c0 Builtins_GetNamedPropertyHandler [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
17: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
18: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
19: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
20: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
21: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
22: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
23: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
24: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
25: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
26: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
27: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
28: 0x104983568 Builtins_GeneratorPrototypeNext [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
29: 0x104939354 Builtins_JSEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
30: 0x104938ff0 Builtins_JSEntry [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
31: 0x103925054 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
32: 0x10392606c v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
33: 0x1039263f8 v8::internal::Execution::TryCall(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::DirectHandle<v8::internal::Object>, v8::base::Vector<v8::internal::DirectHandle<v8::internal::Object> const>, v8::internal::Execution::MessageHandling, v8::internal::MaybeDirectHandle<v8::internal::Object>*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
34: 0x103f31444 v8::internal::SourceTextModule::ExecuteModule(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::SourceTextModule>, v8::internal::MaybeDirectHandle<v8::internal::Object>*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
35: 0x103f30570 v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
36: 0x103f30378 v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
37: 0x103f2fdc8 v8::internal::SourceTextModule::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
38: 0x103ea7f78 v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
39: 0x10668db64 v8::Module::Evaluate(v8::Local<v8::Context>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
40: 0x1031613a4 node::loader::ModuleWrap::Evaluate(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
41: 0x10493e3b8 Builtins_CallApiCallbackGeneric [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
42: 0x10493c70c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
43: 0x104980944 Builtins_AsyncFunctionAwaitResolveClosure [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
44: 0x104a942e0 Builtins_PromiseFulfillReactionJob [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
45: 0x10496d6b4 Builtins_RunMicrotasks [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
46: 0x104939230 Builtins_JSRunMicrotasksEntry [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
47: 0x1039250c0 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
48: 0x10392606c v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
49: 0x1039264b8 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
50: 0x1067e323c v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
51: 0x1039721a4 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
52: 0x102ff87e0 node::InternalCallbackScope::Close() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
53: 0x102ff85c4 node::InternalCallbackScope::~InternalCallbackScope() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
54: 0x102ff7cb0 node::InternalCallbackScope::~InternalCallbackScope() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
55: 0x103172fc0 node::StartExecution(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
56: 0x103008c98 node::LoadEnvironment(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>, std::__1::function<void (node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Value>)>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
57: 0x1032ae1ac node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
58: 0x1032ade4c node::NodeMainInstance::Run() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
59: 0x1031758f4 node::StartInternal(int, char**) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
60: 0x103175510 node::Start(int, char**) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
61: 0x104fea32c main [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
62: 0x192691d54 start [/usr/lib/dyld]

[process 8080]: --- stdout ---
Start c

[process 8080]: status = null, signal = SIGTRAP
/Users/mzasso/git/nodejs/v8-next-update/test/common/child_process.js:98
    throw error;
    ^

Error: - process terminated with status null, expected 1
- process terminated with signal SIGTRAP, expected null
    at Object.<anonymous> (/Users/mzasso/git/nodejs/v8-next-update/test/es-module/test-require-module-cycle-esm-esm-cjs-esm.js:68:3)
    at Module._compile (node:internal/modules/cjs/loader:1759:14)
    at Object..js (node:internal/modules/cjs/loader:1892:10)
    at Module.load (node:internal/modules/cjs/loader:1479:32)
    at Module._load (node:internal/modules/cjs/loader:1298:12)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47 {
  command: '/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node --experimental-require-module /Users/mzasso/git/nodejs/v8-next-update/test/fixtures/es-modules/esm-esm-cjs-esm-cycle/d.mjs'
}

Node.js v25.0.0-pre
Command: out/Debug/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/mzasso/git/nodejs/v8-next-update/test/es-module/test-require-module-cycle-esm-esm-cjs-esm.js


=== debug test-require-module-cycle-esm-esm-cjs-esm-esm ===
Path: es-module/test-require-module-cycle-esm-esm-cjs-esm-esm
[process 8087]: --- stderr ---


#
# Fatal error in ../../deps/v8/src/objects/module.cc, line 492
# Debug check failed: root->status() == kLinked || root->status() == kEvaluated || root->status() == kEvaluatingAsync || root->status() == kErrored.
#
#
#
#FailureMessage Object: 0x16b6af198
----- Native stack trace -----

 1: 0x10484fa98 node::DumpNativeBacktrace(__sFILE*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 2: 0x104ad2890 node::NodePlatform::GetStackTracePrinter()::$_0::operator()() const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 3: 0x104ad284c node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 4: 0x1070548ec V8_Fatal(char const*, int, char const*, ...) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 5: 0x1070541f8 v8::base::SetFatalFunction(void (*)(char const*, int, char const*)) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 6: 0x105645e00 v8::internal::Module::IsGraphAsync(v8::internal::Isolate*) const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 7: 0x104e016d4 v8::Module::IsGraphAsync() const [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 8: 0x1048f9ffc node::loader::ModuleWrap::HasAsyncGraph() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
 9: 0x1048fe908 node::loader::ModuleWrap::HasAsyncGraph(v8::Local<v8::Name>, v8::PropertyCallbackInfo<v8::Value> const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
10: 0x10568cc1c v8::internal::PropertyCallbackArguments::CallAccessorGetter(v8::internal::DirectHandle<v8::internal::AccessorInfo>, v8::internal::DirectHandle<v8::internal::Name>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
11: 0x10568b3a8 v8::internal::Object::GetPropertyWithAccessor(v8::internal::LookupIterator*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
12: 0x10568a404 v8::internal::Object::GetProperty(v8::internal::LookupIterator*, bool) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
13: 0x105356c30 v8::internal::LoadIC::Load(v8::internal::Handle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>, v8::internal::Handle<v8::internal::Name>, bool, v8::internal::DirectHandle<v8::internal::Union<v8::internal::Smi, v8::internal::HeapNumber, v8::internal::BigInt, v8::internal::String, v8::internal::Symbol, v8::internal::Boolean, v8::internal::Null, v8::internal::Undefined, v8::internal::JSReceiver>>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
14: 0x105361fd0 v8::internal::Runtime_LoadNoFeedbackIC_Miss(int, unsigned long*, v8::internal::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
15: 0x10618f494 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
16: 0x1062c26c0 Builtins_GetNamedPropertyHandler [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
17: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
18: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
19: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
20: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
21: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
22: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
23: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
24: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
25: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
26: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
27: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
28: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
29: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
30: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
31: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
32: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
33: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
34: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
35: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
36: 0x1060d5354 Builtins_JSEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
37: 0x1060d4ff0 Builtins_JSEntry [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
38: 0x1050c1054 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
39: 0x1050c027c v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::Object>, v8::internal::DirectHandle<v8::internal::Object>, v8::base::Vector<v8::internal::DirectHandle<v8::internal::Object> const>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
40: 0x107e2ef9c v8::Function::Call(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
41: 0x1048fb660 node::loader::ModuleWrap::SyntheticModuleEvaluationStepsCallback(v8::Local<v8::Context>, v8::Local<v8::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
42: 0x1056f2bec v8::internal::SyntheticModule::Evaluate(v8::internal::Isolate*, v8::internal::DirectHandle<v8::internal::SyntheticModule>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
43: 0x1056440c4 v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
44: 0x1056cc25c v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
45: 0x1056cc378 v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
46: 0x1056cc378 v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
47: 0x1056cbdc8 v8::internal::SourceTextModule::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
48: 0x105643f78 v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
49: 0x107e29b64 v8::Module::Evaluate(v8::Local<v8::Context>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
50: 0x1048fd3a4 node::loader::ModuleWrap::Evaluate(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
51: 0x1060da3b8 Builtins_CallApiCallbackGeneric [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
52: 0x1060d870c Builtins_InterpreterEntryTrampoline [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
53: 0x10611c944 Builtins_AsyncFunctionAwaitResolveClosure [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
54: 0x1062302e0 Builtins_PromiseFulfillReactionJob [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
55: 0x1061096b4 Builtins_RunMicrotasks [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
56: 0x1060d5230 Builtins_JSRunMicrotasksEntry [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
57: 0x1050c10c0 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
58: 0x1050c206c v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
59: 0x1050c24b8 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
60: 0x107f7f23c v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
61: 0x10510e1a4 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
62: 0x1047947e0 node::InternalCallbackScope::Close() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
63: 0x1047945c4 node::InternalCallbackScope::~InternalCallbackScope() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
64: 0x104793cb0 node::InternalCallbackScope::~InternalCallbackScope() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
65: 0x10490efc0 node::StartExecution(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
66: 0x1047a4c98 node::LoadEnvironment(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>, std::__1::function<void (node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Value>)>) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
67: 0x104a4a1ac node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
68: 0x104a49e4c node::NodeMainInstance::Run() [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
69: 0x1049118f4 node::StartInternal(int, char**) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
70: 0x104911510 node::Start(int, char**) [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
71: 0x10678632c main [/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node]
72: 0x192691d54 start [/usr/lib/dyld]

[process 8087]: --- stdout ---

[process 8087]: status = null, signal = SIGTRAP
/Users/mzasso/git/nodejs/v8-next-update/test/common/child_process.js:98
    throw error;
    ^

Error: - process terminated with status null, expected 1
- process terminated with signal SIGTRAP, expected null
    at Object.<anonymous> (/Users/mzasso/git/nodejs/v8-next-update/test/es-module/test-require-module-cycle-esm-esm-cjs-esm-esm.js:58:3)
    at Module._compile (node:internal/modules/cjs/loader:1759:14)
    at Object..js (node:internal/modules/cjs/loader:1892:10)
    at Module.load (node:internal/modules/cjs/loader:1479:32)
    at Module._load (node:internal/modules/cjs/loader:1298:12)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47 {
  command: '/Users/mzasso/git/nodejs/v8-next-update/out/Debug/node --experimental-require-module /Users/mzasso/git/nodejs/v8-next-update/test/fixtures/es-modules/esm-esm-cjs-esm-esm-cycle/z.mjs'
}

Node.js v25.0.0-pre
Command: out/Debug/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/mzasso/git/nodejs/v8-next-update/test/es-module/test-require-module-cycle-esm-esm-cjs-esm-esm.js

@targos
Copy link
Member Author

targos commented Oct 12, 2025

@targos
Copy link
Member Author

targos commented Oct 12, 2025

#60111 (comment) is still happening.

@legendecas The DCHECK is from you in v8/v8@8c63812

@targos targos marked this pull request as ready for review October 12, 2025 11:06
@targos targos marked this pull request as draft October 12, 2025 11:07
@legendecas
Copy link
Member

https://chromium-review.googlesource.com/c/v8/v8/+/7031498 should fix the DCHECK failure.

hubot pushed a commit to v8/v8 that referenced this pull request Oct 20, 2025
Improve DCHECKs that requires a module to be linked. This includes
kLinked, kEvaluated, kEvaluatingAsync, kErrored and the missing
kEvaluating. kEvaluating can be found when a cyclic module is been
evaluated synchronously.

Refs: nodejs/node#60111 (comment)
Change-Id: Ie0b9be22f2d3b8208571d8b419da3505b9f57b65
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7031498
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net>
Cr-Commit-Position: refs/heads/main@{#103203}
targos and others added 8 commits October 20, 2025 13:56
Major V8 updates are usually API/ABI incompatible with previous
versions. This commit adapts NODE_MODULE_VERSION for V8 14.2.

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: nodejs#54077
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
It's causing linker errors with node.lib in node-gyp and potentially
breaks other 3rd party tools

PR-URL: nodejs#56238
Refs: nodejs#55784
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
GCC emits warnings because of the trailing backslashes.

PR-URL: nodejs#58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: nodejs#58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
illumos pointers are VA48, can allocate from the top of the 64-bit range
as well.

PR-URL: nodejs#59805
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
danmcd and others added 4 commits October 20, 2025 13:56
In illumos, madvise(3C) now takes `void *` for its first argument
post-illumos#14418, but uses `caddr_t` pre-illumos#14418. This fix will
detect if the illumos mman.h file in use is pre-or-post-illumos#14418 so
builds can work either way.

PR-URL: nodejs#58237
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Original commit message:

    [runtime] Fastcase for empty getOwnPropertySymbols()

    Since symbols are not enumerable we can rule them out in case all
    properties are in the enum cache.

    Bug: 447154198
    Change-Id: Ib2d58b67e5058d98323fcebaef3daba88c6304b5
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6983286
    Commit-Queue: Olivier Flückiger <olivf@chromium.org>
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Auto-Submit: Olivier Flückiger <olivf@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#102878}

Refs: v8/v8@f93055f
PR-URL: nodejs#60105
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Original commit message:

    Fix build on gcc

    This commit fixes two issues

    1.

    ```
    In file included from ../../src/compiler/turboshaft/assembler.h:37,
                     from ../../src/wasm/turboshaft-graph-interface.h:13,
                     from ../../src/wasm/function-compiler.cc:20:
    ../../src/compiler/turboshaft/builtin-call-descriptors.h:26:55: error: declaration of 'static constexpr v8::internal::compiler::turboshaft::detail::IndexTag<1> v8::internal::compiler::turboshaft::builtin::BigIntAdd::Arguments::index_counter(v8::internal::compiler::turboshaft::detail::IndexTag<1>)' changes meaning of 'index_counter' [-fpermissive]
    ```

    GCC is more strict on accessing the fields from a inner struct. The fix
    was to wrap the base declarations in a struct and have Arguments struct
    inheirt from the base.

    2. In maglev-ir.h and maglev-range-analysis.h fixed up `error: call to
    non-'constexpr'` issues.

    Change-Id: I175700665c7bbb4f07588e9cac3d55d9afce44d0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6987408
    Reviewed-by: Jakob Linke <jgruber@chromium.org>
    Commit-Queue: Jakob Linke <jgruber@chromium.org>
    Reviewed-by: Milad Farazmand <mfarazma@ibm.com>
    Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#103041}

Refs: v8/v8@fed4744
Co-authored-by: Michaël Zasso <targos@protonmail.com>
Original commit message:

    [objects] improve module linked status DCHECKs

    Improve DCHECKs that requires a module to be linked. This includes
    kLinked, kEvaluated, kEvaluatingAsync, kErrored and the missing
    kEvaluating. kEvaluating can be found when a cyclic module is been
    evaluated synchronously.

    Refs: nodejs#60111 (comment)
    Change-Id: Ie0b9be22f2d3b8208571d8b419da3505b9f57b65
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7031498
    Reviewed-by: Camillo Bruni <cbruni@chromium.org>
    Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net>
    Cr-Commit-Position: refs/heads/main@{#103203}

Refs: v8/v8@ff34ae2
@targos targos marked this pull request as ready for review October 20, 2025 12:02
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@targos
Copy link
Member Author

targos commented Oct 21, 2025

/cc @nodejs/v8-update @nodejs/tsc

Copy link
Member

@joyeecheung joyeecheung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM

targos added a commit that referenced this pull request Oct 23, 2025
PR-URL: #60111
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
targos added a commit that referenced this pull request Oct 23, 2025
PR-URL: #60111
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
targos added a commit that referenced this pull request Oct 23, 2025
Major V8 updates are usually API/ABI incompatible with previous
versions. This commit adapts NODE_MODULE_VERSION for V8 14.2.

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: #60111
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
targos added a commit that referenced this pull request Oct 23, 2025
Original commit message:

    Fix build on gcc

    This commit fixes two issues

    1.

    ```
    In file included from ../../src/compiler/turboshaft/assembler.h:37,
                     from ../../src/wasm/turboshaft-graph-interface.h:13,
                     from ../../src/wasm/function-compiler.cc:20:
    ../../src/compiler/turboshaft/builtin-call-descriptors.h:26:55: error: declaration of 'static constexpr v8::internal::compiler::turboshaft::detail::IndexTag<1> v8::internal::compiler::turboshaft::builtin::BigIntAdd::Arguments::index_counter(v8::internal::compiler::turboshaft::detail::IndexTag<1>)' changes meaning of 'index_counter' [-fpermissive]
    ```

    GCC is more strict on accessing the fields from a inner struct. The fix
    was to wrap the base declarations in a struct and have Arguments struct
    inheirt from the base.

    2. In maglev-ir.h and maglev-range-analysis.h fixed up `error: call to
    non-'constexpr'` issues.

    Change-Id: I175700665c7bbb4f07588e9cac3d55d9afce44d0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6987408
    Reviewed-by: Jakob Linke <jgruber@chromium.org>
    Commit-Queue: Jakob Linke <jgruber@chromium.org>
    Reviewed-by: Milad Farazmand <mfarazma@ibm.com>
    Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#103041}

Refs: v8/v8@fed4744
Co-authored-by: Michaël Zasso <targos@protonmail.com>
PR-URL: #60111
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
targos pushed a commit that referenced this pull request Oct 23, 2025
Original commit message:

    [objects] improve module linked status DCHECKs

    Improve DCHECKs that requires a module to be linked. This includes
    kLinked, kEvaluated, kEvaluatingAsync, kErrored and the missing
    kEvaluating. kEvaluating can be found when a cyclic module is been
    evaluated synchronously.

    Refs: #60111 (comment)
    Change-Id: Ie0b9be22f2d3b8208571d8b419da3505b9f57b65
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7031498
    Reviewed-by: Camillo Bruni <cbruni@chromium.org>
    Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net>
    Cr-Commit-Position: refs/heads/main@{#103203}

Refs: v8/v8@ff34ae2
PR-URL: #60111
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
@targos
Copy link
Member Author

targos commented Oct 23, 2025

Landed in 520d827...f819aec

@targos targos closed this Oct 23, 2025
@targos targos deleted the v8-142 branch October 23, 2025 05:38
targos added a commit to targos/node that referenced this pull request Oct 25, 2025
Original commit message:

    Fix build on gcc

    This commit fixes two issues

    1.

    ```
    In file included from ../../src/compiler/turboshaft/assembler.h:37,
                     from ../../src/wasm/turboshaft-graph-interface.h:13,
                     from ../../src/wasm/function-compiler.cc:20:
    ../../src/compiler/turboshaft/builtin-call-descriptors.h:26:55: error: declaration of 'static constexpr v8::internal::compiler::turboshaft::detail::IndexTag<1> v8::internal::compiler::turboshaft::builtin::BigIntAdd::Arguments::index_counter(v8::internal::compiler::turboshaft::detail::IndexTag<1>)' changes meaning of 'index_counter' [-fpermissive]
    ```

    GCC is more strict on accessing the fields from a inner struct. The fix
    was to wrap the base declarations in a struct and have Arguments struct
    inheirt from the base.

    2. In maglev-ir.h and maglev-range-analysis.h fixed up `error: call to
    non-'constexpr'` issues.

    Change-Id: I175700665c7bbb4f07588e9cac3d55d9afce44d0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6987408
    Reviewed-by: Jakob Linke <jgruber@chromium.org>
    Commit-Queue: Jakob Linke <jgruber@chromium.org>
    Reviewed-by: Milad Farazmand <mfarazma@ibm.com>
    Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#103041}

Refs: v8/v8@fed4744
Co-authored-by: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#60111
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
targos pushed a commit to targos/node that referenced this pull request Oct 25, 2025
Original commit message:

    [objects] improve module linked status DCHECKs

    Improve DCHECKs that requires a module to be linked. This includes
    kLinked, kEvaluated, kEvaluatingAsync, kErrored and the missing
    kEvaluating. kEvaluating can be found when a cyclic module is been
    evaluated synchronously.

    Refs: nodejs#60111 (comment)
    Change-Id: Ie0b9be22f2d3b8208571d8b419da3505b9f57b65
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7031498
    Reviewed-by: Camillo Bruni <cbruni@chromium.org>
    Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net>
    Cr-Commit-Position: refs/heads/main@{#103203}

Refs: v8/v8@ff34ae2
PR-URL: nodejs#60111
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. semver-major PRs that contain breaking changes and should be released in the next major version. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants